package ija.controller;

import ija.net.Message;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class NetGameController extends GameController {

	public NetGameController(MainController mc) {
		super(mc);
	}

	public void serveMsgEvent(Message msg) {
		switch (msg.getType()) {
		case ACCEPT:
			break;
		case ASKFORCONN:
			break;
		case DENY:
			break;
		case ENDGAME:
			break;
		case ENDSERVER:
			break;
		case GAMEMOVE:
			break;
		case GETGAMEMOVE:
			break;
		case LOCALERR:
			break;
		case NEXTPLAYER:
			break;
		case STARTGAME:
			break;
		default:
			break;
		}
	}

	public class Host implements ActionListener {
		@Override
		public void actionPerformed(ActionEvent event) {

		}
	}

	public Host createHostListener() {
		return new Host();
	}

	public class Join implements ActionListener {
		@Override
		public void actionPerformed(ActionEvent event) {

		}
	}

	public Join createJoinListener() {
		return new Join();
	}
}
